package com.common.entity;

import java.util.Map;
import java.util.Set;

public class CField {
    /**
     * 字段类型,key：类型名称，比如Integer; value:java.lang.Integer
     */
    private Map<String, String> classType;

    /**
     * 字段名称
     */
    private String name;

    /**
     * 注解列表
     */
    private Map<String, Map<Set<String>, String>> annotations;

    /**
     * 注释doc
     */
    private String common;

    /**
     * 字段类型，默认private
     */
    private String modifier = "private";

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public Map<String, String> getClassType() {
        return classType;
    }

    public void setClassType(Map<String, String> classType) {
        this.classType = classType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<String, Map<Set<String>, String>> getAnnotations() {
        return annotations;
    }

    public void setAnnotations(Map<String, Map<Set<String>, String>> annotations) {
        this.annotations = annotations;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
}
